if [ -n "$BASH_VERSION" ]; then
    SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
    source /opt/ros/jazzy/setup.bash
    source $SCRIPT_DIR/install/local_setup.bash
elif [ -n "$ZSH_VERSION" ]; then
    SCRIPT_DIR="$( cd "$( dirname "${(%):-%x}" )" >/dev/null 2>&1 && pwd )"
    source /opt/ros/jazzy/setup.zsh
    source $SCRIPT_DIR/install/local_setup.zsh
else
    SCRIPT_DIR="$( cd "$( dirname "$0" )" >/dev/null 2>&1 && pwd )"
    source /opt/ros/jazzy/setup.sh
    source $SCRIPT_DIR/install/local_setup.sh
fi
    export PYTHONPATH=$SCRIPT_DIR/src/sls_controller:$PYTHONPATH
    export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR/.venv/lib/python3.12/site-packages
    export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR/libs
    export PYTHONPATH=$PYTHONPATH:$SCRIPT_DIR: